home *** CD-ROM | disk | FTP | other *** search
-
-
-
- LLLLIIIIBBBBSSSSCCCCAAAANNNN((((3333)))) IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo LLLLIIIIBBBBSSSSCCCCAAAANNNN((((3333))))
-
-
-
- LLLLIIIIBBBBRRRRAAAARRRRYYYY DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _l_i_b_s_c_a_n provides a C Language application programming interface (API) for
- scanners. Application programs that use libscan can retrieve data from
- any scanning device for which a corresponding scanner driver exists.
-
- LLLLIIIIBBBBRRRRAAAARRRRYYYY AAAACCCCCCCCEEEESSSSSSSS
- Programs that call _l_i_b_s_c_a_n functions must include the _s_t_d_i_o._h and
- _s_c_a_n_n_e_r._h header files located in the /_u_s_r/_i_n_c_l_u_d_e directory. In
- addition, the programs must link with the _l_i_b_s_c_a_n._a and _l_i_b_m_p_c._a
- libraries located in /_u_s_r/_l_i_b.
-
- FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
- IIIInnnnffffoooorrrrmmmmaaaattttiiiioooonnnn aaaabbbboooouuuutttt iiiinnnnssssttttaaaalllllllleeeedddd ssssccccaaaannnnnnnneeeerrrrssss
- SCSetScanEnt
- SCGetScanEnt
- SCEndScanEnt
-
- GGGGeeeettttttttiiiinnnngggg tttthhhheeee ddddeeeeffffaaaauuuulllltttt ssssccccaaaannnnnnnneeeerrrr nnnnaaaammmmeeee
- SCDefaultScannerName
-
- OOOOppppeeeennnniiiinnnngggg aaaa ssssccccaaaannnnnnnniiiinnnngggg ddddeeeevvvviiiicccceeee
- SCOpen
- SCOpenScreen
- SCOpenFile
- SCClose
-
- SSSSccccaaaannnnnnnneeeerrrr ssssppppeeeecccciiiiffffiiiicccc ooooppppttttiiiioooonnnnssss
- SCOptions
- SCHasOptions
-
- SSSSccccaaaannnnnnnneeeerrrr iiiinnnnffffoooorrrrmmmmaaaattttiiiioooonnnn
- SCScannerName
- SCGetMinMaxRes
- SCGetScannerRes
- SCGetPageSize
- SCGetDataTypes
-
- SSSSccccaaaannnnnnnniiiinnnngggg ssssttttaaaatttteeee
- SCSetup
- SCScan
- SCScanFD
- SCAbort
- SCGetStatus
- SCGetStatusFD
- SCGetSaveOptions
- SCSetSaveOptions
-
- SSSSccccaaaannnn ddddaaaattttaaaa SCGetScanLine
- SCGetScanSize
- SCGetFD
- SCDataReady
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- LLLLIIIIBBBBSSSSCCCCAAAANNNN((((3333)))) IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo LLLLIIIIBBBBSSSSCCCCAAAANNNN((((3333))))
-
-
-
- DDDDooooccccuuuummmmeeeennnntttt FFFFeeeeeeeeddddeeeerrrr
- SCFeederGetFlags
- SCFeederSetFlags
- SCFeederAdvance
- SCFeederReady
-
- EEEEvvvveeeennnnttttssss SCGetEventFD
- SCEventPending
- SCGetEvent
-
- SSSSIIIIGGGGNNNNAAAALLLL HHHHAAAANNNNDDDDLLLLIIIINNNNGGGG ((((SSSSIIIIGGGGCCCCLLLLDDDD))))
- _l_i_b_s_c_a_n spawns child processes to execute scanner drivers and scanner
- specific options programs. Some _l_i_b_s_c_a_n functions terminate these child
- processes; within these functions, SIGCLD is blocked and _l_i_b_s_c_a_n waits on
- the children.
-
- It is possible that a scanner driver or a scanner specific options
- program will terminate asynchronously. Applications using _l_i_b_s_c_a_n should
- be prepared to handle the SIGCLD signal. _l_i_b_s_c_a_n uses the POSIX signal
- handling and wait interfaces.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- scanners(1M), gscan(1), sigprocmask(2), sigaction(2), waitpid(2),
- intro(3).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-